<?php
namespace Contacts\Form;


use Zend\Form\Form;

class DetailsForm extends Form
{
	public function __construct($name = null)
	{
		parent::__construct('details');

		$this->setAttribute('method', 'post');
		
		$this->add(array(
				'name' => 'id',
				'type' => 'Hidden',
		));

		$this->add(array(
				'name' => 'fullname',
				
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'Full Name',
				),
		));

		$this->add(array(
				'name' => 'status',
				
				'attributes' => array(
						'type' => 'text',
						
				),
				'options' => array(
						'label' => 'Status',
				),
		));
		
		$this->add(array(
				'name' => 'jobtitle',
		
				'attributes' => array(
						'type' => 'text',
		
				),
				'options' => array(
						'label' => 'Jobtitle',
				),
		));

		$this->add(array(
				'name' => 'companyname',
				
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'Company Name',
				),
		));

		$this->add(array(
				'name' => 'department',
				
				'attributes' => array(
						'type' => 'text',
						'required' => 'required',
				),
				'options' => array(
						'label' => 'Department',
				),
		));

		$this->add(array(
				'name' => 'offichephone',
				
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'Office Phone',
				),
		));

		$this->add(array(
				'name' => 'source',
				
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'Source',
				),
		));

		$this->add(array(
				'name' => 'mobilephone',
				
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'Mobile Phone',
				),
		));

		$this->add(array(
				'name' => 'officefax',
				
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'Office Fax',
				),
		));

		$this->add(array(
				'name' => 'primaryemail',
				
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'Primary Email',
				),
		));

		$this->add(array(
				'name' => 'primaryaddress',
			
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'Primary Address',
				),
		));

		$this->add(array(
				'name' => 'industry',
				
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'Industry',
				),
		));
		
		$this->add(array(
				'name' => 'website',
		
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'Website',
				),
		));
		
		$this->add(array(
				'name' => 'description',
		
				'attributes' => array(
						'type' => 'text',
				),
				'options' => array(
						'label' => 'description',
				),
		));
	
	
	}
	
}